home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Freeware / UpdateStar 1.1.206 / UpdateStar_ENU.msi / DetailsXsl < prev    next >
Encoding:
Extensible Markup Language  |  2007-11-12  |  26.7 KB  |  866 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3.  
  4. <xsl:template match="details/stylepath"></xsl:template>
  5. <xsl:template match="details/language"></xsl:template>
  6. <xsl:template match="details/largefont"></xsl:template>
  7.  
  8. <xsl:variable name="language"><xsl:value-of select="details/language"/></xsl:variable>
  9. <xsl:variable name="largefont"><xsl:value-of select="details/largefont"/></xsl:variable>
  10. <xsl:variable name="stylepathorig"><xsl:value-of select="details/stylepath"/></xsl:variable>
  11. <xsl:variable name="stylepath"><xsl:copy-of select="$stylepathorig"/>\img\</xsl:variable>
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. <xsl:variable name="iname"><xsl:value-of select="details/software/installed/name"/></xsl:variable>
  20. <xsl:variable name="iversion"><xsl:value-of select="details/software/installed/version"/></xsl:variable>
  21. <xsl:variable name="ipublisher"><xsl:value-of select="details/software/installed/publisher"/></xsl:variable>
  22. <xsl:variable name="irequirements"><xsl:value-of select="details/software/installed/requirements"/></xsl:variable>
  23. <xsl:variable name="ilincense"><xsl:value-of select="details/software/installed/license"/></xsl:variable>
  24. <xsl:variable name="icontact"><xsl:value-of select="details/software/installed/contact"/></xsl:variable>
  25. <xsl:variable name="ihelplink"><xsl:value-of select="details/software/installed/helplink"/></xsl:variable>
  26. <xsl:variable name="itelephone"><xsl:value-of select="details/software/installed/telephone"/></xsl:variable>
  27. <xsl:variable name="ireadme1"><xsl:value-of select="details/software/installed/readme/display"/></xsl:variable>
  28. <xsl:variable name="ireadme2"><xsl:value-of select="details/software/installed/readme/cmd"/></xsl:variable>
  29. <xsl:variable name="iupdates"><xsl:value-of select="details/software/installed/updates"/></xsl:variable>
  30. <xsl:variable name="icomment"><xsl:value-of select="details/software/installed/comment"/></xsl:variable>
  31. <xsl:variable name="idate"><xsl:value-of select="details/software/installed/date"/></xsl:variable>
  32. <xsl:variable name="isize"><xsl:value-of select="details/software/installed/size"/></xsl:variable>
  33. <xsl:variable name="iuninstall"><xsl:value-of select="details/software/installed/uninstall"/></xsl:variable>
  34. <xsl:variable name="irepair"><xsl:value-of select="details/software/installed/repair"/></xsl:variable>
  35. <xsl:variable name="imodify"><xsl:value-of select="details/software/installed/modify"/></xsl:variable>
  36. <xsl:variable name="idesciption"><xsl:value-of select="details/software/installed/description"/></xsl:variable>
  37. <xsl:variable name="ishortdescr"><xsl:value-of select="details/software/installed/shortdescr"/></xsl:variable>
  38. <xsl:variable name="icategory"><xsl:value-of select="details/software/installed/category"/></xsl:variable>
  39.  
  40. <xsl:variable name="ibuybuttons"><xsl:value-of select="details/software/installed/BuyButtons"/></xsl:variable>
  41.  
  42.  
  43. <xsl:variable name="idownloadbuttons"><xsl:value-of select="details/software/installed/DownloadButtons"/></xsl:variable>
  44.  
  45.  
  46.  
  47. <xsl:template match="details/software/update/version"></xsl:template>
  48. <xsl:template match="details/software/update/size"></xsl:template>
  49.  
  50. <xsl:variable name="uversion"><xsl:value-of select="details/software/update/version"/></xsl:variable>
  51. <xsl:variable name="usize"><xsl:value-of select="details/software/update/size"/></xsl:variable>
  52.  
  53.  
  54.  
  55. <xsl:template match="details/software">
  56. <html><head>
  57.  
  58. <xsl:element name="link">
  59.     <xsl:attribute name="href"><xsl:copy-of select="$stylepathorig"/>\style.css</xsl:attribute>
  60.     <xsl:attribute name="rel">stylesheet</xsl:attribute>
  61.     <xsl:attribute name="type">text/css</xsl:attribute>
  62. </xsl:element>
  63.  
  64. <xsl:if test="$largefont='yes'">
  65.     <style type="text/css">
  66.         td     {
  67.             font-size: 16px;
  68.         }
  69.         
  70.         td.desc{
  71.             font-size:13px;
  72.         }
  73.         td.normal{
  74.             font-size:13px;
  75.         }
  76.         a.sublink{
  77.             font-size:11px;
  78.             font-weight:bold;
  79.         }
  80.     </style>
  81. </xsl:if>
  82.  
  83. <!--
  84. <xsl:element name="SCRIPT">
  85.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  86.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\<xsl:copy-of select="$language"/>.js</xsl:attribute>
  87. </xsl:element>
  88.  
  89.  
  90. <xsl:element name="SCRIPT">
  91.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  92.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\slang.js</xsl:attribute>
  93. </xsl:element>
  94. -->
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105. <xsl:element name="SCRIPT">
  106.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  107. function translate(){
  108.     for (newalt in sfields) {
  109.         if(document.getElementById(newalt) ){
  110.             if(document.getElementById(newalt).alt){//image
  111.                 document.getElementById(newalt).alt=sfields[newalt];
  112.             }else if(document.getElementById(newalt).value == ""){//input
  113.                 document.getElementById(newalt).value=sfields[newalt];
  114.             }else{
  115.                 document.getElementById(newalt).innerHTML=sfields[newalt];//default div element
  116.             }
  117.         }
  118.  
  119.             if(document.getElementById(newalt + "_" + 0)){
  120.                 document.getElementById(newalt + "_" + 0).innerHTML=sfields[newalt];
  121.             }
  122.             
  123.             if(document.getElementById(newalt + "_" + 1)){
  124.                 document.getElementById(newalt + "_" + 1).innerHTML=sfields[newalt];
  125.             }
  126.             
  127.             if(document.getElementById(newalt + "_" + 2)){
  128.                 document.getElementById(newalt + "_" + 2).innerHTML=sfields[newalt];
  129.             }
  130.             
  131.             if(document.getElementById(newalt + "_" + 3)){
  132.                 document.getElementById(newalt + "_" + 3).innerHTML=sfields[newalt];
  133.             }
  134.             
  135.             if(document.getElementById(newalt + "_" + 4)){
  136.                 document.getElementById(newalt + "_" + 4).innerHTML=sfields[newalt];
  137.             }
  138.             
  139.             if(document.getElementById(newalt + "_" + 5)){
  140.                 document.getElementById(newalt + "_" + 5).innerHTML=sfields[newalt];
  141.             }
  142.                 
  143.         }
  144. }
  145.  
  146.  
  147. var sfields = new Array();
  148.  
  149. //start
  150. sfields["str_noupdate"]        = "No Updates Available";
  151. sfields["str_yesupdate"]    = "Updates Available!";
  152. sfields["str_lastscan"]        = "Last Update Scan:";
  153. sfields["str_foundprogs"]    = "Programs found:";
  154. sfields["str_foundupdates"]    = "Updates found:";
  155. sfields["searchbutton"]        = "Search for Updates";
  156. sfields["listbutton"]        = "Program List";
  157. sfields["str_availupdates"]    = "Updates Available:";
  158. sfields["str_availvers"]    = "Version:";
  159. sfields["str_availnews"]    = "News:";
  160.  
  161.  
  162. //details
  163. sfields["str_pname"]        = "Product name:";
  164. sfields["str_publisher"]    = "Publisher:";
  165. sfields["str_category"]     = "Category:";
  166. sfields["str_license"]         = "License:";
  167. sfields["str_irequirements"] = "System requirements:";
  168. sfields["str_iversion"]     = "Installed Version:";
  169. sfields["str_uversion"]     = "Current Version:";
  170. sfields["str_management"]     = "Administration:";
  171. sfields["str_info"]         = "Info:";
  172. sfields["str_sdesc"]         = "Short description:";
  173. sfields["str_desc"]         = "Description:";
  174. sfields["str_download"]     = "Download";
  175. sfields["str_buynow"]         = "Buy now";
  176. sfields["str_buyfrom"]         = "from ";
  177. sfields["str_errlink"]         = "incorrect link";
  178. sfields["str_sendupdate"]     = "Send Update";
  179. sfields["sendupdate"]         = "Send Update";
  180. sfields["alt_uninstall"]    = "Uninstall ";
  181. sfields["alt_repair"]         = "Repair";
  182. sfields["alt_modify"]         = "Modify";
  183.  
  184. sfields["str_newstitle"]    = "Title";
  185. sfields["str_newsdata"]     = "Date";
  186.  
  187. </xsl:element>
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194. <xsl:if test="$language='1031'">
  195.     <script type="text/javascript">
  196.     
  197. //start
  198. sfields["str_noupdate"]        = "Keine Updates verfⁿgbar";
  199. sfields["str_yesupdate"]    = "Updates verfⁿgbar!";
  200. sfields["str_lastscan"]        = "Letzter Update-Scan:";
  201. sfields["str_foundprogs"]    = "Gefundene Programme:";
  202. sfields["str_foundupdates"]    = "Gefundene Updates:";
  203. sfields["searchbutton"]        = "Updates suchen";
  204. sfields["listbutton"]        = "Programmliste";
  205. sfields["str_availupdates"]    = "Verfⁿgbare Updates:";
  206. sfields["str_availvers"]    = "Aktuelle Version:";
  207. sfields["str_availnews"]    = "Verfⁿgbare Meldungen:";
  208.  
  209.  
  210. //details
  211. sfields["str_pname"]        = "Produktname:";
  212. sfields["str_publisher"]    = "Hersteller:";
  213. sfields["str_category"]     = "Produktkategorie:";
  214. sfields["str_irequirements"] = "Systemanforderungen:";
  215. sfields["str_license"]         = "Lizenz:";
  216. sfields["str_iversion"]     = "Installierte Version:";
  217. sfields["str_uversion"]     = "Aktuelle Version:";
  218. sfields["str_management"]     = "Verwaltung:";
  219. sfields["str_info"]         = "Info:";
  220. sfields["str_sdesc"]         = "Kurze Beschreibung:";
  221. sfields["str_desc"]         = "Beschreibung:";
  222. sfields["str_download"]     = "Download";
  223. sfields["str_buynow"]         = "Jetzt kaufen";
  224. sfields["str_buyfrom"]         = "von ";
  225. sfields["str_errlink"]         = "Link ist falsch";
  226. sfields["str_sendupdate"]     = "Update senden";
  227. sfields["sendupdate"]         = "Update senden";
  228. sfields["alt_uninstall"]    = "Deinstallieren ";
  229. sfields["alt_repair"]         = "Reparieren";
  230. sfields["alt_modify"]         = "─ndern";
  231.  
  232. //news
  233. sfields["str_newstitle"]    = "Titel";
  234. sfields["str_newsdata"]     = "Datum";
  235.  
  236.     </script>
  237. </xsl:if>
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244. </head>
  245.  
  246. <body onload="if(window.translate)translate(); ">
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257. <xsl:element name="SCRIPT">
  258.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  259.  
  260. </xsl:element>
  261.  
  262.  
  263. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  264.     <tr>
  265.         <td style="padding-left: 10px; padding-right:10px; padding-top:10px; padding-bottom:10px;" valign="top">
  266.  
  267.  
  268.  
  269. <table border="0" cellpadding="0" cellspacing="0" width="100%" >
  270.     <tr>
  271.         <td class="status_greenl" id="nameleft"><xsl:copy-of select="$iname"/></td>
  272.         <td class="status_greenr" id="nameright">
  273.             <xsl:element name="img">
  274.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  275.                 <xsl:attribute name="width">19</xsl:attribute>
  276.                 <xsl:attribute name="height">23</xsl:attribute>
  277.             </xsl:element>
  278.         </td>
  279.     </tr>
  280. </table>
  281.  
  282. </td>
  283. </tr>
  284.  
  285. <tr>
  286. <td valign="top" style="padding-left: 10px; padding-right:10px;padding-top:10px; padding-bottom:10px;" >
  287.  
  288. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  289.                         <tr>
  290.                             <td class="tl">
  291.                                 <xsl:element name="img">
  292.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  293.                                     <xsl:attribute name="width">2</xsl:attribute>
  294.                                     <xsl:attribute name="height">2</xsl:attribute>
  295.                                 </xsl:element>
  296.                             </td><td class="tm" width="100%"></td>
  297.                             <td class="tr">
  298.                                 <xsl:element name="img">
  299.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  300.                                     <xsl:attribute name="width">2</xsl:attribute>
  301.                                     <xsl:attribute name="height">2</xsl:attribute>
  302.                                 </xsl:element>
  303.                             </td>
  304.                         </tr>
  305.                         <tr>
  306.                             <td class="ml"></td>
  307.                             <td width="100%" class="wbox">
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
  316.     <tr><td valign="top">
  317.  
  318.         <xsl:apply-templates />
  319.         
  320.         <xsl:if test="update">
  321.             <script type="text/javascript">                
  322.                 document.getElementById('nameleft').className='status_redl';
  323.                 document.getElementById('nameright').className='status_redr';
  324.  
  325.             </script>
  326.         </xsl:if>
  327.             
  328.     </td></tr>
  329. </table>
  330.  
  331.  
  332.                             </td>
  333.                             <td class="mr"></td>
  334.                         </tr>
  335.                         <tr>
  336.                             <td class="ml"></td>
  337.                             <td valign="top" class="wbox">
  338.                                 <xsl:element name="img">
  339.                                     <xsl:attribute name="border">0</xsl:attribute>
  340.                                     <xsl:attribute name="align">right</xsl:attribute>
  341.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>star.gif</xsl:attribute>
  342.                                 </xsl:element>
  343.                             </td>
  344.                             <td class="mr"></td>
  345.                         </tr>
  346.                         <tr>
  347.                             <td class="bl">
  348.                                 <xsl:element name="img">
  349.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  350.                                     <xsl:attribute name="width">2</xsl:attribute>
  351.                                     <xsl:attribute name="height">2</xsl:attribute>
  352.                                 </xsl:element>
  353.                             </td>
  354.                             <td class="bm"></td>
  355.                             <td class="br">
  356.                                 <xsl:element name="img">
  357.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  358.                                     <xsl:attribute name="width">2</xsl:attribute>
  359.                                     <xsl:attribute name="height">2</xsl:attribute>
  360.                                 </xsl:element>
  361.                             </td>
  362.                         </tr>
  363.                     
  364.                     </table>
  365.                     
  366.                     
  367.  
  368.  
  369.  
  370.         </td>
  371.     </tr>
  372. </table>
  373.                     
  374. </body>
  375. </html>
  376.  
  377. </xsl:template>
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389. <xsl:template match="installed">
  390.             
  391.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  392.  
  393.         <TR>
  394.             <TD width="150">
  395.                 <xsl:element name="img">
  396.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/cshim.gif</xsl:attribute>
  397.                     <xsl:attribute name="width">150</xsl:attribute>
  398.                     <xsl:attribute name="height">1</xsl:attribute>
  399.                 </xsl:element>
  400.             </TD>
  401.             <TD width="100%"></TD>
  402.         </TR>
  403.         
  404.         <TR><TD colspan="2">
  405.             <table border="0" width="100%" cellpadding="0" cellspacing="0">
  406.                 <TR>
  407.                     <TD class="normal" valign="top"><xsl:copy-of select="$ishortdescr"/></TD>
  408.                     <TD  style="text-align: right;" valign="top"><xsl:copy-of select="$sumbitupdate"/></TD>
  409.                 </TR>
  410.                 <TR>
  411.                     <TD colspan="2" style="text-align: right;" height="10" valign="top"></TD>
  412.                 </TR>
  413.             </table>
  414.         </TD></TR>
  415.         
  416.         
  417.  
  418.         <xsl:if test="not($ipublisher='')"><TR><TD class="desc"><div id="str_publisher">.</div></TD><TD class="normal"><xsl:copy-of select="$ipublisher"/></TD></TR></xsl:if>
  419.         
  420.         <xsl:if test="not($icategory='')"><TR><TD class="desc"><div id="str_category">.</div></TD><TD class="normal"><xsl:copy-of select="$icategory"/></TD></TR></xsl:if>
  421.         
  422.         <xsl:if test="not($irequirements='')"><TR><TD class="desc"><div id="str_irequirements">.</div></TD><TD class="normal"><xsl:copy-of select="$irequirements"/></TD></TR></xsl:if>
  423.         
  424.         
  425.         <xsl:if test="not($ilincense='')"><TR><TD class="desc"><div id="str_license">.</div></TD><TD class="normal"><xsl:copy-of select="$ilincense"/></TD></TR></xsl:if>
  426.         
  427.         
  428.         <xsl:if test="not($iversion='')">
  429.             <TR>
  430.                 <TD class="desc"><div id="str_iversion">.</div></TD>
  431.                 <TD class="normal">
  432.                     <xsl:copy-of select="$iversion"/>
  433.                 </TD>
  434.             </TR>
  435.         </xsl:if>
  436.         
  437.         <xsl:if test="not($uversion='')">
  438.             <TR>
  439.                 <TD class="desc"><div id="str_uversion">.</div></TD>
  440.                 <TD class="normal">
  441.                     <b><xsl:copy-of select="$uversion"/></b>
  442.                 </TD>
  443.             </TR>
  444.         </xsl:if>
  445.         
  446.         <xsl:if test="$uversion=''">
  447.             <TR>
  448.                 <TD class="desc"><div id="str_uversion">.</div></TD>
  449.                 <TD class="normal">
  450.                     <xsl:copy-of select="$iversion"/>
  451.                 </TD>
  452.             </TR>
  453.         </xsl:if>
  454.         
  455.         
  456.         
  457.         
  458.         <xsl:for-each select="DownloadButtons">
  459.             <xsl:if test="DownloadButton">
  460.                 <TR><td></td><TD style="padding-left:5px"><TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
  461.             </xsl:if>
  462.         </xsl:for-each>
  463.         
  464.         
  465.         
  466.         
  467.         
  468.         <xsl:for-each select="BuyButtons">
  469.             <xsl:if test="BuyButton">
  470.                 <TR><td></td><TD  style="padding-left:5px"><TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
  471.             </xsl:if>
  472.         </xsl:for-each>
  473.         
  474.         
  475.         
  476.  
  477.         
  478.  
  479.     
  480.  
  481.         
  482.  
  483.         
  484.         
  485.         
  486.         <TR>
  487.             <TD class="desc"><div id="str_management">.</div></TD>
  488.             <TD style="padding-left:5px">
  489.         
  490.             <table border="0" cellspacing="5" cellpadding="0">
  491.                 <tr>
  492.                     <td>
  493.                         <xsl:if test="not($iuninstall='')">
  494.                             <xsl:element name="a">
  495.                                 <xsl:attribute name="href">javascript:window.external.Uninstall('<xsl:copy-of select="$iuninstall"/>');</xsl:attribute>
  496.                                 <xsl:element name="img">
  497.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>xml_deinstall.gif</xsl:attribute>
  498.                                     <xsl:attribute name="border">0</xsl:attribute>
  499.                                     <xsl:attribute name="id">alt_uninstall</xsl:attribute>
  500.                                     <xsl:attribute name="alt">.</xsl:attribute>
  501.                                 </xsl:element>
  502.                             </xsl:element>
  503.                         </xsl:if>
  504.                     </td>
  505.                     
  506.                     <td>
  507.                         <xsl:if test="not($irepair='')">
  508.                             <xsl:element name="a">
  509.                                 <xsl:attribute name="href">javascript:window.external.Repair('<xsl:copy-of select="$irepair"/>');</xsl:attribute>
  510.                                 <xsl:element name="img">
  511.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>xml_repair.gif</xsl:attribute>
  512.                                     <xsl:attribute name="border">0</xsl:attribute>
  513.                                     <xsl:attribute name="id">alt_repair</xsl:attribute>
  514.                                     <xsl:attribute name="alt">.</xsl:attribute>
  515.                                 </xsl:element>
  516.                             </xsl:element>
  517.                         </xsl:if>
  518.     
  519.                     </td>
  520.                     
  521.                     <td>
  522.                         <xsl:if test="not($imodify='')">
  523.                             <xsl:element name="a">
  524.                                 <xsl:attribute name="href">javascript:window.external.Modify('<xsl:copy-of select="$imodify"/>');</xsl:attribute>
  525.                                 <xsl:element name="img">
  526.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>xml_modify.gif</xsl:attribute>
  527.                                     <xsl:attribute name="border">0</xsl:attribute>
  528.                                     <xsl:attribute name="id">alt_modify</xsl:attribute>
  529.                                     <xsl:attribute name="alt">.</xsl:attribute>
  530.                                 </xsl:element>
  531.                             </xsl:element>
  532.                         </xsl:if>
  533.                     </td>
  534.                 </tr>
  535.             </table>
  536.             </TD>
  537.         </TR>
  538.         
  539.  
  540.         
  541.         
  542.         
  543.         
  544.         <xsl:for-each select="InfoButtons">
  545.             <xsl:if test="InfoButton">
  546.                 <TR><TD class="desc"><div id="str_info">.</div></TD><TD><TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
  547.             </xsl:if>
  548.         </xsl:for-each>
  549.         
  550.         
  551.         
  552.         
  553.         <xsl:if test="not($idesciption='')"><TR><TD class="desc"><div id="str_desc">.</div></TD><TD class="normal"><xsl:copy-of select="$idesciption"/></TD></TR></xsl:if>
  554.         
  555.         
  556.     </table>
  557.     
  558.     
  559. </xsl:template>
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568. <xsl:template match="details/software/installed/name"></xsl:template>
  569.  
  570. <xsl:template match="details/software/installed/version"></xsl:template>
  571. <xsl:template match="details/software/installed/publisher"></xsl:template>
  572. <xsl:template match="details/software/installed/contact"></xsl:template>
  573. <xsl:template match="details/software/installed/helplink"></xsl:template>
  574. <xsl:template match="details/software/installed/telephone"></xsl:template>
  575. <xsl:template match="details/software/installed/readme/display"></xsl:template>
  576. <xsl:template match="details/software/installed/readme/cmd"></xsl:template>
  577. <xsl:template match="details/software/installed/updates"></xsl:template>
  578. <xsl:template match="details/software/installed/comment"></xsl:template>
  579. <xsl:template match="details/software/installed/date"></xsl:template>
  580. <xsl:template match="details/software/installed/size"></xsl:template>
  581. <xsl:template match="details/software/installed/uninstall"></xsl:template>
  582. <xsl:template match="details/software/installed/repair"></xsl:template>
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595. <xsl:template match="InfoButton">
  596.     <TD class="normal">
  597.         <xsl:element name="a">
  598.             <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  599.             <xsl:element name="img">
  600.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>xml_info.gif</xsl:attribute>
  601.                 <xsl:attribute name="alt"><xsl:value-of select="DisplayUrl"/></xsl:attribute>
  602.                 <xsl:attribute name="border">0</xsl:attribute>
  603.             </xsl:element>
  604.         </xsl:element>
  605.         <br/>
  606.         <xsl:value-of select="DisplayName"/>
  607.     </TD>
  608. </xsl:template>
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620. <xsl:template match="DownloadButton">
  621.     <TD class="buymeta">
  622.     <table border="0" cellpadding="0" cellspacing="0" width="150">
  623.         <tr>
  624.         <td class="downloadl">
  625.             <xsl:element name="a">
  626.                 <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  627.                 <xsl:element name="img">
  628.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  629.                     <xsl:attribute name="width">40</xsl:attribute>
  630.                     <xsl:attribute name="height">39</xsl:attribute>
  631.                     <xsl:attribute name="border">0</xsl:attribute>
  632.                 </xsl:element>
  633.             </xsl:element>
  634.         </td>
  635.         
  636.         <td class="buym" width="100%">
  637.         <xsl:element name="a">
  638.             <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  639.             <xsl:attribute name="class">buy</xsl:attribute>
  640.             <xsl:element name="div">
  641.                 <xsl:attribute name="id">str_download_<xsl:number level="single" count="DownloadButton" format="1" /></xsl:attribute>
  642.                 .
  643.             </xsl:element>
  644.         </xsl:element>        
  645.         </td>
  646.         
  647.         <td class="buyr">
  648.             <xsl:element name="img">
  649.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  650.                 <xsl:attribute name="width">10</xsl:attribute>
  651.                 <xsl:attribute name="height">39</xsl:attribute>
  652.             </xsl:element>
  653.         </td>
  654.         </tr>
  655.     </table>
  656.     </TD>
  657. </xsl:template>
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672. <xsl:template match="BuyButton">
  673.     <TD class="buymeta">
  674.     <table border="0" cellpadding="0" cellspacing="0" width="150">
  675.         <tr>
  676.         <td class="buyl">
  677.             <xsl:element name="a">
  678.                 <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  679.                 <xsl:element name="img">
  680.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  681.                     <xsl:attribute name="width">40</xsl:attribute>
  682.                     <xsl:attribute name="height">39</xsl:attribute>
  683.                     <xsl:attribute name="border">0</xsl:attribute>
  684.                 </xsl:element>
  685.             </xsl:element>
  686.         </td>
  687.         
  688.         <td class="buym" width="100%" style="white-space: nowrap;">
  689.         <xsl:element name="a">
  690.             <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  691.             <xsl:attribute name="class">buy</xsl:attribute>
  692.             <xsl:element name="div">
  693.                 <xsl:attribute name="id">str_buynow_<xsl:number level="single" count="BuyButton" format="1" /></xsl:attribute>
  694.                 .
  695.             </xsl:element>
  696.         </xsl:element>        
  697.         </td>
  698.         
  699.         <td class="buyr">
  700.             <xsl:element name="img">
  701.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  702.                 <xsl:attribute name="width">10</xsl:attribute>
  703.                 <xsl:attribute name="height">39</xsl:attribute>
  704.             </xsl:element>
  705.         </td>
  706.         </tr>
  707.     </table>
  708.         
  709.     <p style="margin-top:0px;">
  710.         <xsl:if test="DisplayName">
  711.             <font color="#000000">
  712.                 <xsl:element name="div">
  713.                     <xsl:attribute name="style">display: inline;</xsl:attribute>
  714.                     <xsl:attribute name="id">str_buyfrom_<xsl:number level="single" count="BuyButton" format="1" /></xsl:attribute>
  715.                     .
  716.                 </xsl:element>
  717.              </font>
  718.             <xsl:value-of select="DisplayName"/>
  719.         </xsl:if>
  720.     </p>
  721.                     
  722.     </TD>
  723. </xsl:template>
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. <xsl:variable name="sumbitupdate">
  731.     <table border="0" cellpadding="0" cellspacing="0" style="margin-left:20px;">
  732.         <tr>
  733.         <td class="subl">
  734.             <xsl:element name="img">
  735.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  736.                 <xsl:attribute name="width">8</xsl:attribute>
  737.                 <xsl:attribute name="height">21</xsl:attribute>
  738.             </xsl:element>
  739.         </td>
  740.         
  741.         <td class="subm" style="white-space:nowrap;">
  742.         <xsl:element name="form">
  743.             <xsl:attribute name="id">uform</xsl:attribute>
  744.             <xsl:attribute name="method">POST</xsl:attribute>
  745.             <xsl:attribute name="target">_blank</xsl:attribute>
  746.             <xsl:attribute name="action">http://www.updatestar.com/submit/index.php</xsl:attribute>
  747.             
  748.             <xsl:element name="input">
  749.                 <xsl:attribute name="type">hidden</xsl:attribute>
  750.                 <xsl:attribute name="name">iname</xsl:attribute>
  751.                 <xsl:attribute name="value"><xsl:copy-of select="$iname"/></xsl:attribute>
  752.             </xsl:element>
  753.             
  754.             
  755.             
  756.             <xsl:element name="input">
  757.                 <xsl:attribute name="type">hidden</xsl:attribute>
  758.                 <xsl:attribute name="name">ishortdescr</xsl:attribute>
  759.                 <xsl:attribute name="value"><xsl:copy-of select="$ishortdescr"/></xsl:attribute>
  760.             </xsl:element>
  761.             
  762.             
  763.             <xsl:element name="input">
  764.                 <xsl:attribute name="type">hidden</xsl:attribute>
  765.                 <xsl:attribute name="name">ipublisher</xsl:attribute>
  766.                 <xsl:attribute name="value"><xsl:copy-of select="$ipublisher"/></xsl:attribute>
  767.             </xsl:element>
  768.             
  769.             
  770.             
  771.             <xsl:element name="input">
  772.                 <xsl:attribute name="type">hidden</xsl:attribute>
  773.                 <xsl:attribute name="name">icategory</xsl:attribute>
  774.                 <xsl:attribute name="value"><xsl:copy-of select="$icategory"/></xsl:attribute>
  775.             </xsl:element>
  776.             
  777.             
  778.             <xsl:element name="input">
  779.                 <xsl:attribute name="type">hidden</xsl:attribute>
  780.                 <xsl:attribute name="name">ilincense</xsl:attribute>
  781.                 <xsl:attribute name="value"><xsl:copy-of select="$ilincense"/></xsl:attribute>
  782.             </xsl:element>
  783.             
  784.             
  785.             <xsl:element name="input">
  786.                 <xsl:attribute name="type">hidden</xsl:attribute>
  787.                 <xsl:attribute name="name">iversion</xsl:attribute>
  788.                 <xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
  789.             </xsl:element>
  790.             
  791.                 
  792.             <xsl:element name="input">
  793.                 <xsl:attribute name="type">hidden</xsl:attribute>
  794.                 <xsl:attribute name="name">uversion</xsl:attribute>
  795.                 <xsl:attribute name="value"><xsl:copy-of select="$uversion"/></xsl:attribute>
  796.             </xsl:element>
  797.                 
  798.             
  799.             <xsl:element name="input">
  800.                 <xsl:attribute name="type">hidden</xsl:attribute>
  801.                 <xsl:attribute name="name">idesciption</xsl:attribute>
  802.                 <xsl:attribute name="value"><xsl:copy-of select="$idesciption"/></xsl:attribute>
  803.             </xsl:element>
  804.             
  805.             
  806.             <xsl:element name="input">
  807.                 <xsl:attribute name="type">hidden</xsl:attribute>
  808.                 <xsl:attribute name="name">lang</xsl:attribute>
  809.                 <xsl:attribute name="value"><xsl:copy-of select="$language"/></xsl:attribute>
  810.             </xsl:element>
  811.                         
  812.             
  813.             
  814.  
  815.             
  816.             
  817.             <xsl:for-each select="details/software/installed/BuyButtons/BuyButton">
  818.                     <xsl:element name="input">
  819.                         <xsl:attribute name="type">hidden</xsl:attribute>
  820.                         <xsl:attribute name="name">BuyButton_URL[]</xsl:attribute>
  821.                         <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  822.                     </xsl:element>
  823.                     <xsl:element name="input">
  824.                         <xsl:attribute name="type">hidden</xsl:attribute>
  825.                         <xsl:attribute name="name">BuyButton_DisplayName[]</xsl:attribute>
  826.                         <xsl:attribute name="value"><xsl:value-of select="DisplayName"/></xsl:attribute>
  827.                     </xsl:element>
  828.             </xsl:for-each>
  829.             
  830.             
  831.             <xsl:for-each select="details/software/installed/DownloadButtons/DownloadButton">
  832.                     <xsl:element name="input">
  833.                         <xsl:attribute name="type">hidden</xsl:attribute>
  834.                         <xsl:attribute name="name">DownloadButton_URL[]</xsl:attribute>
  835.                         <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  836.                     </xsl:element>
  837.             </xsl:for-each>
  838.             
  839.         
  840.         </xsl:element>    
  841.         
  842.         
  843.         
  844.         <xsl:element name="a">
  845.             <xsl:attribute name="href">javascript:window.external.OpenUpdateSend();</xsl:attribute>
  846.             <xsl:attribute name="class">sublink</xsl:attribute>
  847.             <div id="str_sendupdate">.</div>
  848.  
  849.         </xsl:element>        
  850.         </td>
  851.         
  852.         <td class="subr">
  853.             <xsl:element name="img">
  854.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  855.                 <xsl:attribute name="width">8</xsl:attribute>
  856.                 <xsl:attribute name="height">21</xsl:attribute>
  857.             </xsl:element>
  858.         </td>
  859.         </tr>
  860.     </table>
  861. </xsl:variable>
  862.  
  863.  
  864.  
  865. </xsl:stylesheet>
  866.